<template>
  <div class="box-1"></div>
  <div class="box-2"></div>
</template>

<script lang="ts" setup>
</script>
<style lang="scss" scoped>
.box-1,.box-2{
  overflow: hidden;
  width: 100px;
  height: 100px;
  background: red;
  margin-bottom: 10px;
}
.box-2{
  margin-top: 50px;
  background: #00f;
}
</style>